<!--
  Generated template for the MyDetailDemoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>my-detail-demo</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <form [formGroup]="myForm" (submit)="saveForm()">
    <ion-item>
      <ion-label stacked>ID</ion-label>
      <ion-input formControlName="cId" type="text" disabled></ion-input>
    </ion-item>
    <ion-item>
      <ion-label stacked>名称</ion-label>
      <ion-input formControlName="userName" type="text"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label stacked>性别</ion-label>
      <ion-select formControlName="userSex" clearInput>
        <ion-option value="1">男</ion-option>
        <ion-option value="2">女</ion-option>
        <ion-option value="0">保密</ion-option>
      </ion-select>
    </ion-item>
    <ion-item>
      <ion-label stacked>金额</ion-label>
      <ion-input formControlName="money" type="text"></ion-input>
    </ion-item>
    <button ion-button block type="button" (click)="saveForm()">提交</button>
  </form>
</ion-content>
